/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.future.projects.imobiliaria.forms;

import org.hibernate.validator.constraints.Length;

/**
 *
 * @author fernandofot
 */
public class PasswordFormBean {
    @Length(min= 6, max = 20, message = "A senha deve ter de 6 a 20 caracteres")
    private String password;

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password.trim();
    }

}
